package net.gdface.cassdk.jna;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
 * ============================================================================<br>
 *  Name     : THFeature_i.h<br>
 *  Part of  : Face Feature (THFeature) SDK<br>
 *  Created  : 10.18.2016 by xxx<br>
 *  Description:<br>
 *     THFeature_i.h -  Face Feature(THFeature) SDK header file<br>
 *  Version  : 5.0.0<br>
 *  Copyright: All Rights Reserved by XXX<br>
 *  Revision:<br>
 * ============================================================================<br>
 * <i>native declaration : include\THFeature_i.h:18</i><br>
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> , <a href="http://rococoa.dev.java.net/">Rococoa</a>, or <a href="http://jna.dev.java.net/">JNA</a>.
 */
public class TH_Image_Data extends Structure {
	/**
	 * MUST BE bgr format buffer,the size is width*height*3 bytes<br>
	 * C type : BYTE*
	 */
	public Pointer bgr;
	/** image width */
	public int width;
	/** image height */
	public int height;
	public TH_Image_Data() {
		super();
	}
	protected List<? > getFieldOrder() {
		return Arrays.asList("bgr", "width", "height");
	}
	/**
	 * @param bgr MUST BE bgr format buffer,the size is width*height*3 bytes<br>
	 * C type : BYTE*<br>
	 * @param width image width<br>
	 * @param height image height
	 */
	public TH_Image_Data(Pointer bgr, int width, int height) {
		super();
		this.bgr = bgr;
		this.width = width;
		this.height = height;
	}
	public TH_Image_Data(Pointer peer) {
		super(peer);
	}
	public static class ByReference extends TH_Image_Data implements Structure.ByReference {
		
	};
	public static class ByValue extends TH_Image_Data implements Structure.ByValue {
		
	};
}
